package cn.lblbc.lib

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import cn.lblbc.lib.utils.SpUtil
import cn.lblbc.lib.utils.ToastUtil

open class LblApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        context = this
        SpUtil.init(this)
        ToastUtil.init(this)
    }

    companion object {
        @SuppressLint("StaticFieldLeak")
        lateinit var context: Context
    }

}